package com.zp.crm.entity.User;

import java.util.Date;

public class UserEntity {
	
	private String code; //用户编号唯一 UUID形式进行保存！
	
	private String userName; //用户的账号、（唯一，不为空）
	
	private String userPwd; //用户登录密码(不为空)
	
	private String userTrueName; //用户的真实姓名
	
	private Date userLoginTime; // 用户最后一次登录时间
	
	private String userIp; //用户登录的Ip地址
	
	private String userType; // 用户的类型（保留）
	
	private String userImg; // 用户头像照片(保留);
	
	private String userRoid; //用户的角色名称,字符串形式，多个角色用,号分割
	
	private String userStuts;//用户当前状态（0：正常状态;1:锁定状态。2：删除状态）;
	
	private int userSDCS;//用户锁定次数、大于等于五次为锁定状态！
	
	private String userVachar;//用户扩展字符串（保留）;
	
	private String userVacharT;//用户扩展字符串2（保留）；
	
	private Date usetcretatime;//用户扩展整形类字符串；
	
	private String roidStr;
	
	
	

	public String getRoidStr() {
		return roidStr;
	}

	public void setRoidStr(String roidStr) {
		this.roidStr = roidStr;
	}

	public UserEntity(String code, String userName, String userPwd, String userTrueName, String userRoid,
			String userStuts, int userSDCS, Date usetcretatime) {
		super();
		this.code = code;
		this.userName = userName;
		this.userPwd = userPwd;
		this.userTrueName = userTrueName;
		this.userRoid = userRoid;
		this.userStuts = userStuts;
		this.userSDCS = userSDCS;
		this.usetcretatime = usetcretatime;
	}

	public UserEntity(String code, String userName, String userPwd, String userTrueName, String userStuts, int userSDCS,
			Date usetcretatime) {
		super();
		this.code = code;
		this.userName = userName;
		this.userPwd = userPwd;
		this.userTrueName = userTrueName;
		this.userStuts = userStuts;
		this.userSDCS = userSDCS;
		this.usetcretatime = usetcretatime;
	}

	public UserEntity(String code, String userStuts, int userSDCS) {
		super();
		this.code = code;
		this.userStuts = userStuts;
		this.userSDCS = userSDCS;
	}

	public UserEntity(String code, String userName, String userPwd, String userTrueName, Date userLoginTime,
			String userIp, String userType, String userImg, String userRoid, String userStuts, int userSDCS,
			String userVachar, String userVacharT, Date usetcretatime) {
		super();
		this.code = code;
		this.userName = userName;
		this.userPwd = userPwd;
		this.userTrueName = userTrueName;
		this.userLoginTime = userLoginTime;
		this.userIp = userIp;
		this.userType = userType;
		this.userImg = userImg;
		this.userRoid = userRoid;
		this.userStuts = userStuts;
		this.userSDCS = userSDCS;
		this.userVachar = userVachar;
		this.userVacharT = userVacharT;
		this.usetcretatime = usetcretatime;
	}

	public UserEntity() {
		super();
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserTrueName() {
		return userTrueName;
	}

	public void setUserTrueName(String userTrueName) {
		this.userTrueName = userTrueName;
	}

	public Date getUserLoginTime() {
		return userLoginTime;
	}

	public void setUserLoginTime(Date userLoginTime) {
		this.userLoginTime = userLoginTime;
	}

	public String getUserIp() {
		return userIp;
	}

	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getUserImg() {
		return userImg;
	}

	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}

	public String getUserRoid() {
		return userRoid;
	}

	public void setUserRoid(String userRoid) {
		this.userRoid = userRoid;
	}

	public String getUserStuts() {
		return userStuts;
	}

	public void setUserStuts(String userStuts) {
		this.userStuts = userStuts;
	}

	public int getUserSDCS() {
		return userSDCS;
	}

	public void setUserSDCS(int userSDCS) {
		this.userSDCS = userSDCS;
	}

	public String getUserVachar() {
		return userVachar;
	}

	public void setUserVachar(String userVachar) {
		this.userVachar = userVachar;
	}

	public String getUserVacharT() {
		return userVacharT;
	}

	public void setUserVacharT(String userVacharT) {
		this.userVacharT = userVacharT;
	}

	public Date getUsetcretatime() {
		return usetcretatime;
	}

	public void setUsetcretatime(Date usetcretatime) {
		this.usetcretatime = usetcretatime;
	}

	

	
}
